/**
 * 字体图标使用
 *      npm install --save @fortawesome/fontawesome-svg-core
 *      npm install --save @fortawesome/vue-fontawesome
 *      npm install --save @fortawesome/free-solid-svg-icons
 */
import Vue from 'vue'
import {library} from '@fortawesome/fontawesome-svg-core'
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome'
import {
    faAngleLeft, faAngleRight, faAt, faBackward, faBookmark, faCarrot, faCheckCircle,
    faCircleNotch, faEdit,
    faEnvelope, faExclamationTriangle, faEye,
    faFile,
    faHome,
    faInfoCircle,
    faMapMarkerAlt,
    faSignOutAlt,
    faStore,
    faUser,
    faUserAlt,
    faUtensils
} from '@fortawesome/free-solid-svg-icons'

library.add(
    faUtensils,
    faUserAlt,
    faStore,
    faHome,
    faCircleNotch,
    faMapMarkerAlt,
    faUser,
    faFile,
    faSignOutAlt,
    faEnvelope,
    faInfoCircle,
    faAngleLeft,
    faAngleRight,
    faCheckCircle,
    faEdit,
    faCarrot,
    faEye,
    faBookmark,
    faExclamationTriangle,
    faAt,
    faBackward
)

Vue.component('font-awesome-icon', FontAwesomeIcon)
